package com.grom.dao;

import java.util.List;

import com.grom.po.Security;

;

public interface SecurityDao {
	SecurityDao instance = new SecurityDaoImpl();

	List<Security> getAllSecuritys();

	List<Security> getAllRootSecurity();

	Security getSecurityById(String id);

	List<Security> selectByCondition(String sql);

	void add(Security security);

	void update(Security security);

	void delete(Security security);
}
